import { GTextFormat } from "../GTextFormat";
import { FontUtil } from "../font/FontUtil";
// import { Language } from "../../../extend/language/Language";
type int = number;
//class GlobalStyle
enum TextFormatAlign {
  LEFT,
  CENTER
}
export class GlobalStyle {
 

  public static get textFormat4(): GTextFormat {
    return GlobalStyle._textFormat4.clone();
  }

  public static setTextFormatAlign(
    arg1: GTextFormat,
    arg2: string
  ): GTextFormat {
    var loc1 = arg1.clone();
    loc1.align = arg2;
    return loc1;
  }

  public static get textFormat7(): GTextFormat {
    return GlobalStyle._textFormat7.clone();
  }

  public static get textFormat5(): GTextFormat {
    return GlobalStyle._textFormat5.clone();
  }

  public static get textFormat9(): GTextFormat {
    return GlobalStyle._textFormat9.clone();
  }

  public static get textFormat1(): GTextFormat {
    return GlobalStyle._textFormat1.clone();
  }

  public static get textFormat6(): GTextFormat {
    return GlobalStyle._textFormat6.clone();
  }

  public static get textFormat2(): GTextFormat {
    return GlobalStyle._textFormat2.clone();
  }

  public static get textFormat8(): GTextFormat {
    return GlobalStyle._textFormat8.clone();
  }

  public static get textFormat3(): GTextFormat {
    return GlobalStyle._textFormat3.clone();
  }

  public static get textFormat10(): GTextFormat {
    return GlobalStyle._textFormat10.clone();
  }

  public static get textFormatBlack(): GTextFormat {
    return GlobalStyle._textFormatBlack.clone();
  }

  public static get textFormatGray(): GTextFormat {
    return GlobalStyle._textFormatGray.clone();
  }

  public static get textFormatWhite(): GTextFormat {
    return GlobalStyle._textFormatWhite.clone();
  }

  public static get textFormatGreen(): GTextFormat {
    return GlobalStyle._textFormatGreen.clone();
  }

  public static get textFormatBlue(): GTextFormat {
    return GlobalStyle._textFormatBlue.clone();
  }

  public static get textFormatPurple(): GTextFormat {
    return GlobalStyle._textFormatPurple.clone();
  }

  public static get textFormatOrange(): GTextFormat {
    return GlobalStyle._textFormatOrange.clone();
  }

  public static get textFormatRed(): GTextFormat {
    return GlobalStyle._textFormatRed.clone();
  }

  public static get textFormatRedGlod(): GTextFormat {
    return GlobalStyle._textFormatRedGlod.clone();
  }

  public static get textFormatZodiacResult(): GTextFormat {
    return GlobalStyle._textFormatResult.clone();
  }

  public static get textFormatRedPackRank(): GTextFormat {
    return GlobalStyle._textFormatRedPackRank.clone();
  }

  public static get textFormatVIP3(): GTextFormat {
    return GlobalStyle._textFormatVIP3.clone();
  }

  public static get textFormatVIP2(): GTextFormat {
    return GlobalStyle._textFormatVIP2.clone();
  }

  public static get textFormatVIP1(): GTextFormat {
    return GlobalStyle._textFormatVIP1.clone();
  }

  public static get textFormatOnLine(): GTextFormat {
    return GlobalStyle._textFormatOnLine.clone();
  }

  public static get textFormatOffline(): GTextFormat {
    return GlobalStyle._textFormatOffline.clone();
  }

  public static get embedNumberTf(): GTextFormat {
    return GlobalStyle._embedNumberTf.clone();
  }

  public static getTextFormatCenter(arg1: GTextFormat): GTextFormat {
    var loc1 = arg1.clone();
    loc1.align = TextFormatAlign.CENTER;
    return loc1;
  }

  public static getTextFormatDefaultFont(arg1: GTextFormat): GTextFormat {
    var loc1 = arg1.clone();
    loc1.font = FontUtil.defaultFont.fontName;
    return loc1;
  }

  public static setTextFormatLeading(
    arg1: GTextFormat,
    arg2: int
  ): GTextFormat {
    var loc1 = arg1.clone();
    loc1.leading = arg2;
    return loc1;
  }

  public static /* const */ dYellowUint: int = 15859633;

  public static /* const */ gray: string = "#9f9f9f";

  public static /* const */ grayUint: int = 10461087;

  public static /* const */ blue: string = "#00a2ff";

  public static /* const */ blueUint: int = 41727;

  public static /* const */ green: string = "#60e71e";

  public static /* const */ greenUint: int = 6350622;

  public static /* const */ yellow: string = "#f0ea3f";

  public static /* const */ yellowUint: int = 15788607;

  public static /* const */ red: string = "#ff0000";

  public static /* const */ redUint: int = 16711680;

  public static /* const */ purple: string = "#ff00ff";

  public static /* const */ purpleUint: int = 16711935;

  public static /* const */ orange: string = "#FF7902";

  public static /* const */ orangeUint: int = 16742658;

  public static /* const */ _textFormat1: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    11661311,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat2: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    15859633,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat4: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    41727,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat5: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    6350622,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat6: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    15788607,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat7: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    16,
    15283417,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat8: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16711935,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ _textFormat9: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    58623,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color7: string = "#ff0000";

  public static /* const */ _textFormat10: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16777215,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color1: string = "#B1efff";

  public static /* const */ _textFormatBlack: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    0,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color1Uint: int = 11661311;

  public static /* const */ _textFormatGray: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    9211020,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color2: string = "#F1FFB1";

  public static /* const */ _textFormatWhite: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16777215,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color2Uint: int = 15859633;

  public static /* const */ _textFormatGreen: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    65280,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color3: string = "#9f9f9f";

  public static /* const */ _textFormatBlue: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    48895,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color3Uint: int = 10461087;

  public static /* const */ _textFormatPurple: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16711935,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color4: string = "#00a2ff";

  public static /* const */ _textFormatOrange: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16742658,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color4Uint: int = 41727;

  public static /* const */ _textFormatRed: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16735067,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color5: string = "#60e71e";

  public static /* const */ _textFormatRedGlod: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    11413025,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color5Uint: int = 6350622;

  public static /* const */ _textFormatResult: GTextFormat = new GTextFormat(
    FontUtil.lishuName,
    16,
    16776964,
    true,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ color6: string = "#f0ea3f";

  public static /* const */ _textFormatRedPackRank: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    11661311,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ windowTitle: GTextFormat = new GTextFormat(
    "title",
    24,
    16187389,
    true,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ windowTitle2: GTextFormat = new GTextFormat(
    null,
    16,
    16187389,
    true,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ windowTitle3: GTextFormat = new GTextFormat(
    null,
    16,
    15788607,
    true,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ dialogTitle: GTextFormat = new GTextFormat(
    null,
    16,
    11661311,
    true,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ color6Uint: int = 15788607;

  public static /* const */ _textFormatVIP3: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    15788607,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color7Uint: int = 16711680;

  public static /* const */ _textFormatVIP2: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    16777215,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color8: string = "#ff00ff";

  public static /* const */ _textFormatVIP1: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    6618886,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color8Uint: int = 16711935;

  public static /* const */ _textFormatOnLine: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    11661311,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color9: string = "#FF7902";

  public static /* const */ _textFormatOffline: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    10461087,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ color9Uint: int = 16742658;

  public static /* const */ _embedNumberTf: GTextFormat = new GTextFormat(
    FontUtil.EmbedNumberName,
    18,
    65280,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.CENTER
  );

  public static /* const */ career_1: string = "#fff000";

  public static /* const */ _textFormat3: GTextFormat = new GTextFormat(
    FontUtil.songtiName,
    12,
    10461087,
    null,
    null,
    null,
    null,
    null,
    TextFormatAlign.LEFT
  );

  public static /* const */ career_4: string = "#FF7902";

  public static /* const */ career_8: string = "#ff04fc";

  public static /* const */ whiteName: string = Language.getString(20270);

  public static /* const */ greenName: string = Language.getString(20271);

  public static /* const */ blueName: string = Language.getString(20272);

  public static /* const */ purpleName: string = Language.getString(20273);

  public static /* const */ orangeName: string = Language.getString(20274);

  public static /* const */ goldName: string = Language.getString(61090);

  public static /* const */ redName: string = Language.getString(74013);

  public static /* const */ dBlue: string = "#B1efff";

  public static /* const */ dBlueUint: int = 11661311;

  public static /* const */ dYellow: string = "#F1FFB1";

  public static /* const */ career_2: string = "#00f0ff";
}
